package account;

import java.util.List;

import card.ICard;
import account.status.IStatus;
import user.IUser;

public interface IAccount {
	void setId(Long id);

	Long getId();

	/**
	 * In hybernate will be connection one to many and from other side many to one.
	 * 
	 * @param user
	 */
	void setUser(IUser user);

	/**
	* In hybernate will be connection one to many and from other side many to one.
	 * 
	 * @return
	 */
	IUser getUser();

	void setSum(Long sum);

	Long getSum();

	void setStatus(IStatus status);

	IStatus getStatus();

	/**
	 * In hybernate will be connection one to many and from other side many to one.
	 * 
	 * @param cards
	 */
	void setCards(List<ICard> cards);

	/**
	* In hybernate will be connection one to many and from other side many to one.
	 * 
	 * @return
	 */
	List<ICard> getCards();

	void addCard(ICard card);
}
